<?php

namespace app\supplier\controller;

use app\supplier\validate\StoreUserValidate;
use app\service\traits\Crud;
use app\supplier\model\StoreUser as StoreUserModel;

class StoreUser extends Base
{
    private StoreUserModel $model;

    use Crud;

    public function initialize()
    {
        parent::initialize();
        $this->model         = new StoreUserModel();
        $this->validateClass = StoreUserValidate::class;
        $this->withSearch    = 'id,real_name,mobile,is_salesman';
    }
}